package com.fitso.model.dao;

import java.util.List;

import com.fitso.model.bean.nutrition.FoodDescription;

public interface FoodIdentityDao {
	List<FoodDescription> read();

	FoodDescription readById(Long id);

	List<FoodDescription> readByCommonName(String commonName);
	
	List<FoodDescription> readByProducer(String producer);
	
	List<FoodDescription> readByProductName(String productName);

	void createOrUpdate(FoodDescription foodDescription);

	void delete(FoodDescription foodDescription);
}
